package com.bingxue.edu.management.system.model.query;

import com.bingxue.edu.common.enums.CommonStatusEnum;
import com.bingxue.edu.management.system.model.entity.DictItem;
import com.mybatisflex.annotation.TableRef;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * 字典项查询条件
 *
 * @author xunuo
 * @since 2024/07/23 10:41
 */
@Data
@Schema(description = "字典项查询条件")
@TableRef(DictItem.class)
public class DictItemQuery {

    @NotNull(message = "字典id不能为空")
    @Schema(description = "字典id")
    private String dictId;

    @Schema(description = "状态")
    private CommonStatusEnum status;
}
